{% extends "base.html" %}
{% load contest_status %}
{% load full_time %}
{% block page_script %}
<style type="text/css">
    .bg_img{
        display: none;
    }
    .footer-diy{
        display: none;
    }
    .page_body{
        background: transparent;
    }
    .tab-pane{
        color: #fff;

    }
    .tab-pane > a{
        color:#fff;
    }
</style>
<link rel="stylesheet" type="text/css" href="/static/acm_contest/2016IT/css/jquery.classycountdown.min.css" />
<script src="/static/acm_contest/2016IT/js/jquery.classycountdown.min.js"></script>
<script src="/static/acm_contest/2016IT/js/jquery.knob.js"></script>
<script src="/static/acm_contest/2016IT/js/jquery.throttle.js"></script>
<script type="text/javascript">
    $(function () {
        $('.countdown').ClassyCountdown({
            theme: "white-wide",
            end: $.now() + (1463893200 * 1000 - $.now()) / 1000
        });
    });
</script>
{% endblock %}
{% block page_title %}BNUZ IT Festival ACM-ICPC Contest 2016  - {% endblock %}
{% block page_body %}
    <div style="text-align: right; width: 64px; height:64px; position: fixed; right:0; font-size: 50px;">
        <a href="javascript:document.getElementById('bgmusic').pause();" style="color: #fff;"><span class="glyphicon glyphicon-volume-off"></span></a>
    </div>
    <audio id="bgmusic" src="/static/acm_contest/2016IT/bg.mp3" autoplay loop preload="auto"></audio>
    <canvas id="bg" height="100%" width="100%" style="position: fixed; z-index:-1; top:0; left:0;"></canvas>
    <div class="page_container">
        <div align="center">
            <h1 style="color: #fff;">
                BNUZ 2016年IT节ACM-ICPC现场赛 <br>
                <small style="color: #fff;">代码，是种艺术</small>
            </h1>
            {% if web_config.server_time >= 1463893200 %}
                <div class="" style="margin:0 auto 30px auto; max-width:800px; width:calc(100%); padding:30px; display:block">
                <a href="/contest/4" class="btn btn-success btn-lg"><h4>&nbsp;&nbsp;进&nbsp;入&nbsp;比&nbsp;赛&nbsp;&nbsp;</h4></a>
                <a href="/contest/4/rank_list" class="btn btn-success btn-lg"><h4>&nbsp;&nbsp;实&nbsp;&nbsp;时&nbsp;&nbsp;排&nbsp;行&nbsp;榜&nbsp;</h4></a>
                </div>
            {% else %}
            <div class="countdown" style="margin:0 auto 30px auto; max-width:800px; width:calc(100%); padding:30px; display:block"></div>
            {% endif %}
        </div>
        <div align="center">
            <div class="btn-group" role="tablist">
                {% if user_session.user_id == 'acm' %}
                    <a href="{% url 'contest_list' 1 %}" class="btn btn-danger">比赛发布入口</a>
                {% endif %}
                <a href="#home" role="tab" data-toggle="tab" class="btn btn-success">入围名单</a>
                <a href="#anpai" role="tab" data-toggle="tab" class="btn btn-default">赛程安排</a>
                <a href="#baoming" role="tab" data-toggle="tab" class="btn btn-default">报名方式</a>
                <a href="#guize" role="tab" data-toggle="tab" class="btn btn-default">竞赛规则</a>
                <a href="#jiangli"  role="tab" data-toggle="tab" class="btn btn-default">奖励方法</a>
                <a href="#jilv" role="tab" data-toggle="tab" class="btn btn-default">赛场纪律</a>
                <a href="#zixun"  role="tab" data-toggle="tab" class="btn btn-default">信息发布与咨询</a>
            </div>
        </div>
        <div class="tab-content" style="padding: 30px; line-height: 40px; font-size: 18px; width: 80%; max-width: 960px; margin: 0 auto;">
            <div role="tabpanel" class="tab-pane active" id="home" align="center">
            恭喜以下同学入围本次比赛：
　<table class="table" border="1" cellpadding="0" cellspacing="0" style="width:800px; border: 1px solid #FFF; margin: 0 auto;">
    <thead>
    <tr>
        <th>编号</th>
        <th>队名</th>
        <th>参赛成员</th>
    </tr>
    </thead>
	<tbody>
		<tr>
			<td>team1</td>
			<td>牛逼队</td>
			<td>徐迅&nbsp; 叶嘉鹏</td>
		</tr>
		<tr>
			<td>team2</td>
			<td>team2</td>
			<td>刘冠&nbsp; 许家俊&nbsp; 黎梓钊</td>
		</tr>
		<tr>
			<td>team3</td>
			<td>team3</td>
			<td>王孙洪&nbsp; 李方政&nbsp; 卢锦锋</td>
		</tr>
		<tr>
			<td>team4</td>
			<td>钦点</td>
			<td>徐凌霄&nbsp; 吴明朗&nbsp; 叶一铭</td>
		</tr>
		<tr>
			<td>team5</td>
			<td>Group@localhost</td>
			<td>蔡昭阳&nbsp; 胡泽铭&nbsp; 谢润梓</td>
		</tr>
		<tr>
			<td>team6</td>
			<td>MSN</td>
			<td>林光雄&nbsp; 李梦康&nbsp; 黎小雯</td>
		</tr>
		<tr>
			<td>team7</td>
			<td>hun</td>
			<td>代德华&nbsp; 李挺&nbsp; 欧羡强</td>
		</tr>
		<tr>
			<td>team8</td>
			<td>**来棵82年的线段树</td>
			<td>朱嘉豪&nbsp; 张盛东&nbsp; 何俊艺</td>
		</tr>
		<tr>
			<td>team9</td>
			<td>我库日天</td>
			<td>栾健&nbsp; 林益民&nbsp; 张英桦</td>
		</tr>
		<tr>
			<td>team10</td>
			<td>你长的和身份证一模一样</td>
			<td>陈淦臣&nbsp; 张平平&nbsp; 黄鹤群</td>
		</tr>
		<tr>
			<td>team11</td>
			<td>少先队</td>
			<td>姚依雯&nbsp; 钟雨滔&nbsp; 蔡天龙</td>
		</tr>
		<tr>
			<td>team12</td>
			<td>301医院</td>
			<td>周明杰&nbsp; 李岸原&nbsp; 何子健</td>
		</tr>
		<tr>
			<td>team13</td>
			<td>team13</td>
			<td>唐葛&nbsp; 麦伟键&nbsp; 吴伟权</td>
		</tr>
		<tr>
			<td>team14</td>
			<td>吊大黄之翌</td>
			<td>叶威廷&nbsp; 周学彬&nbsp; 郑文贤</td>
		</tr>
		<tr>
			<td>team15</td>
			<td>六轴传感器</td>
			<td>周琪斌&nbsp; 裴致渊&nbsp; 俎金言</td>
		</tr>
		<tr>
			<td>team16</td>
			<td>我要20个学时</td>
			<td>叶闯&nbsp; 余源锋&nbsp; 陈子麟</td>
		</tr>
		<tr>
			<td>team17</td>
			<td>team17</td>
			<td>陈泽键&nbsp; 黄凯&nbsp; 何志涛</td>
		</tr>
		<tr>
			<td>team18</td>
			<td>向日葵队</td>
			<td>林凯鹏&nbsp; 欧慧琳&nbsp; 黄灼东</td>
		</tr>
		<tr>
			<td>team19</td>
			<td>不知道比你们高到哪里去了</td>
			<td>许亮&nbsp; 叶启权&nbsp; 郑嘉明</td>
		</tr>
		<tr>
			<td>team20</td>
			<td>brave</td>
			<td>黎政文&nbsp; 李伟钊&nbsp; 柳靖伦</td>
		</tr>
		<tr>
			<td>team21</td>
			<td><span style="color:red">旺旺碎冰冰</span></td>
			<td>连翌冰&nbsp; 周丹&nbsp; 吴佩仪</td>
		</tr>
		<tr>
			<td>team22</td>
			<td>队友不SB我早白银了</td>
			<td>钟岱兵&nbsp; 陈润潮&nbsp; 李威鹏</td>
		</tr>
		<tr>
			<td>team23</td>
			<td>没时间解释了</td>
			<td>商韵怡&nbsp; 方伟靖&nbsp; 梁文韬</td>
		</tr>
		<tr>
			<td>team24</td>
			<td>team24</td>
			<td>容鸿博&nbsp; 李炬华&nbsp; 郭培彬</td>
		</tr>
		<tr>
			<td>team25</td>
			<td>NOT NULL</td>
			<td>刘文星&nbsp; 刘强国&nbsp; 梁国晋</td>
		</tr>
		<tr>
			<td>team26</td>
			<td>sourceCode</td>
			<td>陈志航&nbsp; 蔡佳涛&nbsp; 程闯跃</td>
		</tr>
		<tr>
			<td>team27</td>
			<td>*ZHBIT_B队</td>
			<td>陈智安&nbsp; 陈泽斌&nbsp; 詹健炜</td>
		</tr>
		<tr>
			<td>team28</td>
			<td>爸爸A的都队</td>
			<td>叶宏杨&nbsp; 周永洁&nbsp; 周填鑫</td>
		</tr>
		<tr>
			<td>team29</td>
			<td>team29</td>
			<td>江滨&nbsp; 刘炳均&nbsp; 张进涛</td>
		</tr>
		<tr>
			<td>team30</td>
			<td>香芋狂魔</td>
			<td>卓惠娜&nbsp; 潘根豪&nbsp; 龙星宇</td>
		</tr>
		<tr>
			<td>team31</td>
			<td>team31</td>
			<td>姚梓梁&nbsp; 林伟杰&nbsp; 卢智宇</td>
		</tr>
		<tr>
			<td>team32</td>
			<td>度雷思生产大队</td>
			<td>黄浩宇&nbsp; 黄立勋&nbsp; 周铂丰</td>
		</tr>
		<tr>
			<td>team33</td>
			<td>mmummm</td>
			<td>李鸿福&nbsp; 张念祖&nbsp; 潘东海</td>
		</tr>
		<tr>
			<td>team34</td>
			<td>*ZHBIT_E队</td>
			<td>李国帆&nbsp; 邱伯琛&nbsp; 李海杰</td>
		</tr>
		<tr>
			<td>team35</td>
			<td>肮脏py交易</td>
			<td>钟瑞健&nbsp; 林润发&nbsp; 许博宇</td>
		</tr>
		<tr>
			<td>team36</td>
			<td>*ZHBIT_A队</td>
			<td>麦俊杰&nbsp; 叶朝钧&nbsp; 古永旺</td>
		</tr>
		<tr>
			<td>team37</td>
			<td>team37</td>
			<td>卢旭晗&nbsp; 张灵均&nbsp; 陈曦</td>
		</tr>
		<tr>
			<td>team38</td>
			<td>NULL</td>
			<td>罗汝斌&nbsp; 李冠力&nbsp; 陈剑锋</td>
		</tr>
		<tr>
			<td>team39</td>
			<td>;</td>
			<td>张祯恺&nbsp; 王鹏&nbsp; 潘颖</td>
		</tr>
		<tr>
			<td>team40</td>
			<td>吊打黄之翌</td>
			<td>黄之翌&nbsp; 郭恺宁&nbsp; 陈镇峰</td>
		</tr>
		<tr>
			<td>team41</td>
			<td>.</td>
			<td>苏孜麟&nbsp; 谭伟熙&nbsp; 黎梓琳</td>
		</tr>
		<tr>
			<td>team42</td>
			<td>249的3&deg;粉丝</td>
			<td>王永刚&nbsp; 韩凯&nbsp; 师云飞</td>
		</tr>
		<tr>
			<td>team43</td>
			<td>阿武摇滚鸡</td>
			<td>卢冠峰&nbsp; 郑武&nbsp; 叶志鹏</td>
		</tr>
		<tr>
			<td>team44</td>
			<td><span style="color:red">后宫三千佳丽</span></td>
			<td>罗宝怡&nbsp; 邓晓君&nbsp; 罗启帆</td>
		</tr>
		<tr>
			<td>team45</td>
			<td>杜康</td>
			<td>陈顺康&nbsp; 孙孟爽&nbsp; 杨泽豪</td>
		</tr>
		<tr>
			<td>team46</td>
			<td>team46</td>
			<td>刘林枫&nbsp; 李志清&nbsp; 周中鹏</td>
		</tr>
		<tr>
			<td>team47</td>
			<td>队伍颜值没来这次只能接着带长得丑的队员</td>
			<td>张泽生&nbsp; 余浩诚&nbsp; 李泽民</td>
		</tr>
		<tr>
			<td>team48</td>
			<td>线性代数随便来+</td>
			<td>郑尚丰&nbsp; 王泽彬&nbsp; 杨佳衡</td>
		</tr>
		<tr>
			<td>team49</td>
			<td>抹茶红豆</td>
			<td>朱悦星&nbsp; 王子恒&nbsp; 陈玟慧</td>
		</tr>
		<tr>
			<td>team50</td>
			<td>13电气开车啦</td>
			<td>黄焕杰&nbsp; 伍尚铿&nbsp; 陈思</td>
		</tr>
		<tr>
			<td>team51</td>
			<td>呵呵呵</td>
			<td>石宗旻&nbsp; 张静雅&nbsp; 张少华</td>
		</tr>
		<tr>
			<td>team52</td>
			<td>秋名山死神</td>
			<td>顾永豪&nbsp; 郭友达&nbsp; 陈恺</td>
		</tr>
		<tr>
			<td>team53</td>
			<td>*ZHBIT_D队</td>
			<td>庄中坚&nbsp; 张泽伟&nbsp; 李辉军</td>
		</tr>
		<tr>
			<td>team54</td>
			<td>team54</td>
			<td>周嘉楠&nbsp; 洪源&nbsp; 吴世炜</td>
		</tr>
		<tr>
			<td>team55</td>
			<td>**帮东哥找妹子</td>
			<td>罗衡州&nbsp; 曾家东&nbsp; 尚鹏</td>
		</tr>
		<tr>
			<td>team56</td>
			<td>我只是为了签到</td>
			<td>黄旭铭&nbsp; 吴允特&nbsp; 张轲</td>
		</tr>
		<tr>
			<td>team57</td>
			<td>听说队伍的名字越长，排名会越高</td>
			<td>洪锦辉&nbsp; 黄大厦&nbsp; 张世豪</td>
		</tr>
		<tr>
			<td>team58</td>
			<td>*ZHBIT_F队</td>
			<td>洪永清&nbsp; 杨艺&nbsp; 梁爽</td>
		</tr>
		<tr>
			<td>team59</td>
			<td>team59</td>
			<td>岳洋&nbsp; 梅新源&nbsp; 范明炜</td>
		</tr>
		<tr>
			<td>team60</td>
			<td>我去现场赛也是复习线代</td>
			<td>吴易东&nbsp; 王磊&nbsp; 谢穗宁</td>
		</tr>
		<tr>
			<td>team61</td>
			<td>*ZHBIT_C队</td>
			<td>陈新杰&nbsp; 冯兆昊&nbsp;&nbsp;</td>
		</tr>
		<tr>
			<td>team62</td>
			<td>mmmmmm</td>
			<td>张俊&nbsp; 谭泳雯&nbsp; 曾智浩</td>
		</tr>
		<tr>
			<td>team63</td>
			<td>没时间了 赶紧混</td>
			<td>曾昭贤&nbsp; 林浩然&nbsp; 袁莹</td>
		</tr>
		<tr>
			<td>team64</td>
			<td>哈哈哈</td>
			<td>张北川&nbsp; 罗家伟&nbsp; 方振荣</td>
		</tr>
	</tbody>
</table>
            注解：带*号队为北理参赛队，带**号为往届学长打酱油队，均计入排行榜但不进行奖次评定。<br />
            技术支持：北京师范大学珠海分校信息技术学院 WeJudge OJ团队
            <br />判题模块鸣谢 <a href="https://github.com/lodevil/Lo-runner">Lo-runner(作者：lodevil)</a>
        </div>
            <div role="tabpanel" class="tab-pane" id="anpai">
            <h3>网络赛：</h3>
            开始时间：2016/5/14 00:00<br/>
            结束时间：2016/5/16 00:00<br/>
            网络赛OJ：<a href="http://oj.bnuz.edu.cn/contest/3 ">http://oj.bnuz.edu.cn/contest/3 </a><br/>
            网络赛持续时间为48小时，同学们可以自由安排时间参加网络赛。协会将于2016年5月17日在本站（<a href="http://acmbnuz.sinaapp.com">http://acmbnuz.sinaapp.com</a>）发布晋级现场赛人员名单，请晋级现场赛的同学在2016年5月21日0:00前组队完毕，没有组队者和人数不满三人的队伍将由协会安排组队。<br />
            <h3>现场赛：</h3>
            开始时间：2016/5/22 13:00 <br/>
            结束时间：2016/5/22 18:00 <br/>
            现场赛地点：工程楼5401、5501、5502 <br/>
            </div>
            <div role="tabpanel" class="tab-pane" id="baoming">
            1、登录本站（<a href="http://acmbnuz.sinaapp.com">http://acmbnuz.sinaapp.com</a>），注册账号（已有账号的用户请直接登录），登录并点击比赛详情界面的“报名”按钮。<br />
            2、登录WeJudge OJ <a href="{% url 'account_register' %}">注册账号</a>（已有账号的用户无需注册）用于参加网络赛。网络赛入口位于OJ顶部菜单栏的“比赛”项目。<br />
            必须两个账号都注册才视为报名成功。第一个账号的信息用于学时申请、奖金发放以及现场赛组队，请认真填写。第二个账号为参加网络赛的比赛账号。<br />
            报名截止时间：2016/5/16 00:00
            </div>
            <div role="tabpanel" class="tab-pane" id="guize">
            　　ACM校内赛以个人为单位参赛，选手需先参加网络预选赛，在48小时内解决多道到问题。网络赛排名靠前者晋级方可参加现场赛。网络赛晋级人数比例将由ACM协会根据网络赛状况决定。届时ACM官网和WeJudge OJ将会及时公布晋级名单。<br/>
 　　现场赛选手需要在5小时内使用C语言或C++语言解决多道问题。现场赛允许选手携带任何纸质资料入场，但不允许携带电子记忆录放设备，也不允许在线查找互联网资源。<br/>
 　　比赛排名（包括网络赛与现场赛）按解题数多少从大到小排位，解题数相同者按解题耗费时间累加由少到多排位。注意：若完成一道题目的解答，则对该题的每次错误解答题目将产生20分钟的用时惩罚。<br/>
 　　赛场计算机环境：Windows 7，CodeBlocks 13.12，Dev C++ 5.11，C-Free <br/>
 　　比赛服评测机编译器：GNU G++，GNU GCC
            </div>
            <div role="tabpanel" class="tab-pane" id="jiangli">获奖比例预计占现场赛参赛人数的60%，其中：<br/>
              <table class="table table-bordered">
                  <thead>
                      <tr>
                          <th>类型</th>
                          <th>比例</th>
                          <th>奖励</th>
                      </tr>
                  </thead>
                  <tbody>
                      <tr>
                          <td>一等奖</td>
                          <td>5队</td>
                          <td>20科技学时 + 暴风VR眼镜 + 证书</td>
                      </tr>
                      <tr>
                          <td>二等奖</td>
                          <td>10队</td>
                          <td>15科技学时 + 360随身Wifi三代 + 证书</td>
                      </tr>
                      <tr>
                          <td>三等奖</td>
                          <td>15队</td>
                          <td>10科技学时 + 证书</td>
                      </tr>
                      <tr>
                          <td>晋级现场赛未获奖</td>
                          <td>&nbsp;</td>
                          <td>5科技学时</td>
                      </tr>
                  </tbody>
              </table>
			</div>
            <div role="tabpanel" class="tab-pane" id="jilv"> 　　所有选手须自觉维护赛场纪律，比赛中出现以下任何情况视为作弊，将直接取消比赛资格。<br/>
 　　（1）比赛期间携带各类电子产品。（包括但不限于手机、电子词典、手提电脑、U盘、移动硬盘等）。<br/>
 　　（2）比赛期间访问除OJ平台外的其它资源网站。<br/>
 　　（3）竞赛未宣布正式开始时使用机器和阅卷。<br/>
 　　（4）在赛场大声喧哗，影响其他选手。<br/>
 　　（5）故意损害竞赛设备。<br/>
 　　（6）选手间相互交换账号、拷贝代码或传递纸质材料。<br/>
 　　（7）偷看他人屏幕代码或与他人讨论。<br/>
 　　（8）其它经组委会判定为作弊的行为。</div>
            <div role="tabpanel" class="tab-pane" id="zixun">
               　　我们将在ACM官网与WeJudge OJ公布晋级名单和现场赛获奖名单，请大家赛后密切留意。<br/>
 　　             如果您有任何问题，请联系：<br/>
              <table class="table">
                  <thead>
                      <tr>
                          <td>姓名</td>
                          <td>手机</td>
                          <td>QQ</td>
                      </tr>
                  </thead>
                  <tbody>
                      <tr>
                          <td>郑东吴</td>
                          <td>13798984890</td>
                          <td>827043498</td>
                      </tr>
                      <tr>
                          <td>邱拓先</td>
                          <td>15920019819</td>
                          <td>244670068</td>
                      </tr>
                      <tr>
                          <td>黎政文</td>
                          <td>13798957627</td>
                          <td>745906701</td>
                      </tr>
                      <tr>
                          <td>谢　旸</td>
                          <td>13798954956</td>
                          <td>627980643</td>
                      </tr>
                  </tbody>
              </table>
          </div>
      </div>
    </div>


        <script type="text/javascript">
        var c = document.getElementById("bg");
        var ctx = c.getContext("2d");


        //chinese characters - taken from the unicode charset
        var chinese = "BNUZITFestivalACM-ICPCContest2016";
        //converting the string into an array of single characters
        chinese = chinese.split("");


        //making the canvas full screen
        c.height = window.innerHeight;
        c.width = window.innerWidth;
        var font_size = 10;
        var columns = c.width / font_size; //number of columns for the rain
        //an array of drops - one per column
        var drops = [];
        //x below is the x coordinate
        //1 = y co-ordinate of the drop(same for every drop initially)
        for (var x = 0; x < columns; x++)
            drops[x] = 1;

        $(window).resize(function () {
            c.height = window.innerHeight;
            c.width = window.innerWidth;
            columns = c.width / font_size; //number of columns for the rain
        });

        //drawing the characters
        function draw() {
            //Black BG for the canvas
            //translucent BG to show trail
            ctx.fillStyle = "rgba(0, 0, 0, 0.05)";
            ctx.fillRect(0, 0, c.width, c.height);

            ctx.fillStyle = "rgba(0, 255, 0, 0.4)"; //green text
            ctx.font = font_size + "px arial";
            //looping over drops
            for (var i = 0; i < drops.length; i++) {
                //a random chinese character to print
                var text = chinese[Math.floor(Math.random() * chinese.length)];
                //x = i*font_size, y = value of drops[i]*font_size
                ctx.fillText(text, i * font_size, drops[i] * font_size);

                //sending the drop back to the top randomly after it has crossed the screen
                //adding a randomness to the reset to make the drops scattered on the Y axis
                if (drops[i] * font_size > c.height && Math.random() > 0.975)
                    drops[i] = 0;

                //incrementing Y coordinate
                drops[i]++;
            }
        }

        setInterval(draw, 50);
        </script>

{% endblock %}